package www.openteam.com.contract.business;

import www.openteam.com.bean.CustomType;
import www.openteam.com.bean.InsertStatus;
import www.openteam.com.bean.ProductInfo;
import www.openteam.com.view.business.EditProductInfoView;

/**
 * Created by kylin on 2017/7/10.
 */

public class EditProductInfoContract {

    public interface EditProductInfoView {


        String getRdsno();

        String getCode();

        void hideMTData(Throwable throwable);

        void loadMTData(CustomType materialTypelst);

        void deletePIData(InsertStatus insertStatus);

        void failPIData(Throwable throwable);

        void loadPIData(ProductInfo productInfo);

        void hidePIData(Throwable throwable);
    }


    public interface EditProductInfoPresenter {

        void queryMaterialTypelst();

        void deleteProductInfo(String code);

        void queryProductInfo(String code, String name, int PageSize);
    }

}
